﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SuperFox
{
    public partial class ContentControl : UserControl
    {
        public ContentControl()
        {
            InitializeComponent();
        }

        private void HyperlinkButton_Click(object sender, RoutedEventArgs e)
        {
            (App.Current.RootVisual as MainPage).AboutLink.Tag = "1";
            (App.Current.RootVisual as MainPage).HyperlinkButton_Click((App.Current.RootVisual as MainPage).AboutLink, null);
            (App.Current.RootVisual as MainPage).AboutLink.Tag = "0";
            //(App.Current.RootVisual as MainPage).LoadHeader();
        }
    }
}
